from django import template
import datetime

register = template.Library()


def rec_time(value):
    result = datetime.datetime.strftime(value, '%H:%M:%S')
    return result

register.filter('rec_time', rec_time)
